Moloni\Controllers\Documents A

Total Complexity 70
Dependencies 10
Dependents 3
Total lines 581
Lines of code 318
Logical lines of code 194
Comment lines 97
Methods 17
Properties 34

Methods 17

Method Rating Maintainability Complexity Lines of code
createDocument()
B
36 15 74
getDocumentTypeName()
A
52 8 27
setShippingInfo()
S
49 7 28
setExchangeRate()
S
59 5 13
showDocument()
S
54 4 20
setPaymentMethod()
S
57 4 17
setNotes()
S
62 4 11
mapPropsToValues()
S
48 2 32
sendOldEmail()
S
44 1 46
setFees()
S
63 3 10
setShipping()
S
67 3 7
getDocumentSetId()
S
69 3 6
__construct()
S
65 3 8
getError()
S
80 2 3
setProducts()
S
67 2 7
isReferencedInDatabase()
S
79 2 3
getDocumentId()
S
71 2 6